/*
 * RentalReturnBO.java
 *
 * Created on March 28, 2007, 7:00 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.jjenkins.data;

import java.sql.Date;

/**
 * BO for a rental return
 * @author Josh
 */
public class RentalReturnBO extends BusinessObject{
    
    /**
     * date returned
     */
    private Date dateIn;
    /**
     * rental
     */
    private RentalBO rental;
    
    /** Creates a new instance of RentalReturnBO */
    public RentalReturnBO() {
    }
    
    /**
     * Sets the rental bo
     * @param rental RentalBO
     */
    public void setRental(RentalBO rental){
        this.rental = rental;
        setDirty(true);
    }    
    
    /**
     * Gets the rentalBO
     * @return RentalBO
     */
    public RentalBO getRental(){
        return rental;
    }
    
    /**
     * Sets the dateIn
     * @param dateIn Date
     */
    public void setDateIn(Date dateIn){
        this.dateIn = dateIn;
        setDirty(true);
    }
    
    /**
     * Gets the date in
     * @return Date
     */
    public Date getDateIn(){
        return dateIn;
    }
}
